{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\williamslaro\Documents\Research\Projects\Spatial Methods\Spatial-X\Journal of Politics\Replication\Survey\Patterns in the Spatial Survey.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 5 Sep 2019, 08:35:45
{txt}
{com}. 
. *******************************************************************************
. *** Patterns in the Spatial Survey
. *******************************************************************************
. 
. *** Keep only those articles that use spatial models as their empirical tests.
. keep if spatial == 1
{txt}(58 observations deleted)

{com}. 
. *** Popularity of models
. tab model1type

                          {txt}Model 1 Type? {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                              Moran's I {c |}{res}          2        2.13        2.13
{txt}                                    SAC {c |}{res}          1        1.06        3.19
{txt}                                    SAR {c |}{res}         45       47.87       51.06
{txt}                            SAR and SDM {c |}{res}          1        1.06       52.13
{txt}                                    SDM {c |}{res}          8        8.51       60.64
{txt}                                    SEM {c |}{res}          3        3.19       63.83
{txt}                                    SLX {c |}{res}         12       12.77       76.60
{txt}SLX (W*cumulativeY or W*cumlast5yrson.. {c |}{res}          1        1.06       77.66
{txt}                           SLX (Wy_t-1) {c |}{res}         18       19.15       96.81
{txt}SLX (Y= conflict initiation and Wx is.. {c |}{res}          1        1.06       97.87
{txt}          SLX (Y=deltaY and spatial=Wy) {c |}{res}          1        1.06       98.94
{txt}                  SLX (spatial=ln(y+1)) {c |}{res}          1        1.06      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}         94      100.00
{txt}
{com}. 
. replace model1type = "Complex" if  model1type == "SAC" | model1type == "SDM" | model1type == "SAR and SDM"
{txt}(10 real changes made)

{com}. replace model1type = "SLX" if substr(model1type, 1, 3) == "SLX"
{txt}(22 real changes made)

{com}. replace model1type = "Other" if model1type == "Moran's I" | model1type == "SEM"
{txt}(5 real changes made)

{com}. tab model1type

                          {txt}Model 1 Type? {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                                Complex {c |}{res}         10       10.64       10.64
{txt}                                  Other {c |}{res}          5        5.32       15.96
{txt}                                    SAR {c |}{res}         45       47.87       63.83
{txt}                                    SLX {c |}{res}         34       36.17      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}         94      100.00
{txt}
{com}. 
. *** Local vs global
. replace theoryglobal = "0" if theoryglobal == "." | theoryglobal == "see note"
{txt}(82 real changes made)

{com}. 
. tab theoryglobal

                  {txt}Theory Global? {c |}      Freq.     Percent        Cum.
{hline 33}{c +}{hline 35}
 but in results only, not theory {c |}{res}          1        1.10        1.10
{txt}                               0 {c |}{res}         85       93.41       94.51
{txt}                               1 {c |}{res}          5        5.49      100.00
{txt}{hline 33}{c +}{hline 35}
                           Total {c |}{res}         91      100.00
{txt}
{com}. tab model1type if theoryglobal != "1"

                          {txt}Model 1 Type? {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                                Complex {c |}{res}          9       10.11       10.11
{txt}                                  Other {c |}{res}          5        5.62       15.73
{txt}                                    SAR {c |}{res}         41       46.07       61.80
{txt}                                    SLX {c |}{res}         34       38.20      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}         89      100.00
{txt}
{com}. tab model1type if theoryglobal == "1"

                          {txt}Model 1 Type? {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                                Complex {c |}{res}          1       20.00       20.00
{txt}                                    SAR {c |}{res}          4       80.00      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}          5      100.00
{txt}
{com}. bys model1type: tab theoryglobal

{txt}{hline}
-> model1type = 

                  Theory Global? {c |}      Freq.     Percent        Cum.
{hline 33}{c +}{hline 35}
                               0 {c |}{res}          1      100.00      100.00
{txt}{hline 33}{c +}{hline 35}
                           Total {c |}{res}          1      100.00

{txt}{hline}
-> model1type = Complex

                  Theory Global? {c |}      Freq.     Percent        Cum.
{hline 33}{c +}{hline 35}
 but in results only, not theory {c |}{res}          1       11.11       11.11
{txt}                               0 {c |}{res}          7       77.78       88.89
{txt}                               1 {c |}{res}          1       11.11      100.00
{txt}{hline 33}{c +}{hline 35}
                           Total {c |}{res}          9      100.00

{txt}{hline}
-> model1type = Other

                  Theory Global? {c |}      Freq.     Percent        Cum.
{hline 33}{c +}{hline 35}
                               0 {c |}{res}          5      100.00      100.00
{txt}{hline 33}{c +}{hline 35}
                           Total {c |}{res}          5      100.00

{txt}{hline}
-> model1type = SAR

                  Theory Global? {c |}      Freq.     Percent        Cum.
{hline 33}{c +}{hline 35}
                               0 {c |}{res}         41       91.11       91.11
{txt}                               1 {c |}{res}          4        8.89      100.00
{txt}{hline 33}{c +}{hline 35}
                           Total {c |}{res}         45      100.00

{txt}{hline}
-> model1type = SLX

                  Theory Global? {c |}      Freq.     Percent        Cum.
{hline 33}{c +}{hline 35}
                               0 {c |}{res}         31      100.00      100.00
{txt}{hline 33}{c +}{hline 35}
                           Total {c |}{res}         31      100.00

{txt}
{com}. 
. *** Specification of W
. tab multiple, miss

              {txt}Multiple? {c |}      Freq.     Percent        Cum.
{hline 24}{c +}{hline 35}
                        {c |}{res}         29       29.90       29.90
{txt}                      . {c |}{res}         10       10.31       40.21
{txt}                      0 {c |}{res}         18       18.56       58.76
{txt}                      1 {c |}{res}         39       40.21       98.97
{txt}same model, multiple Ws {c |}{res}          1        1.03      100.00
{txt}{hline 24}{c +}{hline 35}
                  Total {c |}{res}         97      100.00
{txt}
{com}. tab multiple if model1type == "SAR" | model1type == "SAR and SDM"

              {txt}Multiple? {c |}      Freq.     Percent        Cum.
{hline 24}{c +}{hline 35}
                      . {c |}{res}          7       20.59       20.59
{txt}                      0 {c |}{res}          5       14.71       35.29
{txt}                      1 {c |}{res}         22       64.71      100.00
{txt}{hline 24}{c +}{hline 35}
                  Total {c |}{res}         34      100.00
{txt}
{com}. tab multiple if model1type != "SAR" | model1type != "SAR and SDM"

              {txt}Multiple? {c |}      Freq.     Percent        Cum.
{hline 24}{c +}{hline 35}
                      . {c |}{res}         10       14.71       14.71
{txt}                      0 {c |}{res}         18       26.47       41.18
{txt}                      1 {c |}{res}         39       57.35       98.53
{txt}same model, multiple Ws {c |}{res}          1        1.47      100.00
{txt}{hline 24}{c +}{hline 35}
                  Total {c |}{res}         68      100.00
{txt}
{com}. 
. tab model1typeofwsummary

              {txt}Model 1 Type of W Summary {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                          co-membership {c |}{res}          1        1.09        1.09
{txt}, as measured by Braithwaite and Li (.. {c |}{res}          1        1.09        2.17
{txt}                             10 nearest {c |}{res}          1        1.09        3.26
{txt}                   10-nearest neighbors {c |}{res}          1        1.09        4.35
{txt}               15 contiguous? Not clear {c |}{res}          1        1.09        5.43
{txt}                    6 nearest neighbors {c |}{res}          1        1.09        6.52
{txt}All obs equally related (zeros on diag) {c |}{res}          1        1.09        7.61
{txt}Co-membership in Cross Border Region .. {c |}{res}          1        1.09        8.70
{txt}Competitors� Ratification: Export sim.. {c |}{res}          1        1.09        9.78
{txt}                             Contiguity {c |}{res}         15       16.30       26.09
{txt}Contiguity: 4 and 8 (robustness) clos.. {c |}{res}          1        1.09       27.17
{txt}            Defensive alliance partners {c |}{res}          1        1.09       28.26
{txt}Dichotomous distance, within 150km/50km {c |}{res}          1        1.09       29.35
{txt}                               Distance {c |}{res}          2        2.17       31.52
{txt}                Distance and contiguity {c |}{res}          1        1.09       32.61
{txt}              Distance between capitals {c |}{res}          1        1.09       33.70
{txt}Do any neighbors have peacekeepers, d.. {c |}{res}          1        1.09       34.78
{txt}Each model has 3, but only the first .. {c |}{res}          1        1.09       35.87
{txt}                     Export competition {c |}{res}          1        1.09       36.96
{txt}         Exports as a proportion of GDP {c |}{res}          1        1.09       38.04
{txt}                            FDI inflows {c |}{res}          1        1.09       39.13
{txt}For dyad AB, the minimum of the weigh.. {c |}{res}          1        1.09       40.22
{txt}I have no idea, some distance functio.. {c |}{res}          1        1.09       41.30
{txt}                       Inverse Distance {c |}{res}          2        2.17       43.48
{txt}                       Inverse distance {c |}{res}          1        1.09       44.57
{txt}               Inverse mean travel time {c |}{res}          1        1.09       45.65
{txt}K neighbors defined by distance not b.. {c |}{res}          1        1.09       46.74
{txt}                              Neighbors {c |}{res}          1        1.09       47.83
{txt}Neighbors are those whose borders are.. {c |}{res}          2        2.17       50.00
{txt}Neighbors defined by distance between.. {c |}{res}          1        1.09       51.09
{txt}              Newspaper imports/exports {c |}{res}          1        1.09       52.17
{txt}            Normalized inverse distance {c |}{res}          1        1.09       53.26
{txt}                    Partisan similarity {c |}{res}          1        1.09       54.35
{txt}                            Prefectures {c |}{res}          1        1.09       55.43
{txt}                        Region dummies. {c |}{res}          1        1.09       56.52
{txt}                            Rival Block {c |}{res}          1        1.09       57.61
{txt}                Same geographic region. {c |}{res}          1        1.09       58.70
{txt}                            Same region {c |}{res}          1        1.09       59.78
{txt}      Shared civilation of target state {c |}{res}          1        1.09       60.87
{txt}                       Specific exports {c |}{res}          1        1.09       61.96
{txt}            State with high discretion. {c |}{res}          1        1.09       63.04
{txt}TRADE COMPETITION: structural equival.. {c |}{res}          1        1.09       64.13
{txt}There are 9 nearest neigbor Ws (all s.. {c |}{res}          1        1.09       65.22
{txt}          Various measures of distance. {c |}{res}          1        1.09       66.30
{txt}                    adjusted contiguity {c |}{res}          1        1.09       67.39
{txt}author's measure of ethnolinguistic a.. {c |}{res}          1        1.09       68.48
{txt}            boarder within 100km binary {c |}{res}          1        1.09       69.57
{txt}           capital cities within 1000km {c |}{res}          1        1.09       70.65
{txt}                             contiguity {c |}{res}          5        5.43       76.09
{txt}      dichotomous distance w/ threshold {c |}{res}          2        2.17       78.26
{txt}dichotomous indicators of nuclear riv.. {c |}{res}          1        1.09       79.35
{txt}             export-product competition {c |}{res}          1        1.09       80.43
{txt}geographical distance between countries {c |}{res}          1        1.09       81.52
{txt}ideological distance between all part.. {c |}{res}          1        1.09       82.61
{txt}ideological distance between contiguo.. {c |}{res}          1        1.09       83.70
{txt}interboarder or intercapital distance.. {c |}{res}          1        1.09       84.78
{txt}      inverse distance between capitals {c |}{res}          3        3.26       88.04
{txt}inverse ideological distance between .. {c |}{res}          1        1.09       89.13
{txt}                       nearest neighbor {c |}{res}          1        1.09       90.22
{txt}             neighbors (no specificity) {c |}{res}          1        1.09       91.30
{txt}         population weighted contiguity {c |}{res}          1        1.09       92.39
{txt}population weighter BEA regions (US s.. {c |}{res}          1        1.09       93.48
{txt}                            same sector {c |}{res}          1        1.09       94.57
{txt}          similarity in export profiles {c |}{res}          1        1.09       95.65
{txt}           similarity in trade patterns {c |}{res}          2        2.17       97.83
{txt}some distance function, but partition.. {c |}{res}          1        1.09       98.91
{txt}structural equivalence in trade and p.. {c |}{res}          1        1.09      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}         92      100.00
{txt}
{com}. tab model1geographic

    {txt}Model 1 {c |}
 geographic {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         26       27.66       27.66
{txt}          1 {c |}{res}         68       72.34      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         94      100.00
{txt}
{com}. 
. *** Interpretation
. tab model1effectsnumbers if model1type == "SAR" | model1type == "SAR and SDM"

    {txt}Model 1 {c |}
    Effects {c |}
   numbers? {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         28       62.22       62.22
{txt}          1 {c |}{res}         17       37.78      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         45      100.00
{txt}
{com}. tab model1effectsgraphs if model1type == "SAR" | model1type == "SAR and SDM"

    {txt}Model 1 {c |}
    Effects {c |}
    graphs? {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         38       84.44       84.44
{txt}          1 {c |}{res}          7       15.56      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         45      100.00
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\williamslaro\Documents\Research\Projects\Spatial Methods\Spatial-X\Journal of Politics\Replication\Survey\Patterns in the Spatial Survey.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 5 Sep 2019, 08:35:45
{txt}{.-}
{smcl}
{txt}{sf}{ul off}